/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package obj;

/**
 *
 * @author Student
 */
public class Tentara {
    
    Senjata senjata;
    
    public void setSenjata(Senjata sj){
        this.senjata = sj;
    }            
    
    public void menembak(){
        senjata.tembak();
    }
}
